<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
    <title>Documentation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript" src="/media/scripts/jquery.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.prettydate.js"></script>
    <script type="text/javascript" src="/media/scripts/placeholder.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.tipsy.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.cookie.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.treeview.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.listnav-2.1.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.blockui.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.tablesorter.min.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.textarearesizer.compressed.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.styledButton.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.Jcrop.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.uploadify/swfobject.js"></script>
    <script type="text/javascript" src="/media/scripts/jquery.uploadify/jquery.uploadify.js"></script>
    
    {*<script type="text/javascript" src="http://getfirebug.com/releases/lite/alpha/firebug.jgz"></script>*}

    <link rel="stylesheet" type="text/css" href="/media/styles/reset.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/wiki.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/header.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/login.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/modal.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/panels.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/dashboard.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/treeview.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/styledButton.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/jquery.Jcrop.css" />
    <link rel="stylesheet" type="text/css" href="/media/styles/profile.css" />
    <link rel="stylesheet" type="text/css" href="/media/scripts/tablesorter/style.css" />

    {if $user && $user->getSetting('mini')}
    {literal}
    <style>
    #navigation {
        position:fixed;
        top:0;
        width:100%;
        z-index:10000;
    }
    #headline h2 {
        display: none;
    }
    #headline .rmenu {
        position: absolute;
        right: 0;
        margin: 30px auto 0;
        padding: 0;
        padding-right: 250px !important;
    }
    #headline {
        height: 0px;
        padding-top: 0px;
    }
    #topnav { 
        padding-top: 6px;
    }
    #searchbox { 
        padding-right: 130px;
    }
    #signin_menu { 
        margin-top: 4px;
    }
    #headline .rmenu { 
        padding-top: 4px;
        padding-right: 75px;
        float: left;
    }
    </style>
    {/literal}
    {/if}
    
    <!--[if !IE]><!--><link rel="stylesheet" type="text/css" href="/media/zforms-jquery/css/ZForms-screen.css" media="Screen" /><!--<![endif]-->
    <!--[if IE]><link rel="stylesheet" type="text/css" href="/media/zforms-jquery/css/ZForms-screen-ie.css" media="Screen" /><![endif]-->
</head>
<body>

<div id="headline">
    <h2 class="gradient">{if !$project}{$title|default:'Список проектів'}{else}{$project->title}{/if}<b></b></h2>

    <p class="rmenu">
        [ <a href="/dashboard" class="menu">Dashboard</a> ]
    </p>
    {include file="login.tpl"}
</div>

<div id="navigation">
	<ul id="menus">
		{if $nav}
			<li class="page_item"><a class="home" href="/" title="Главная">Главная</a></li>
			{foreach from=$nav item=url key=title name=nav}
				<li class="{if $smarty.foreach.nav.last}current_page_item{else}page_item{/if}"><a title="{$title}" href="{$url}">{$title}</a></li>
			{/foreach}
		{else}
		<li class="current_page_item"><a class="home" href="/" title="Главная">Главная</a></li>
		{/if}
		<li><a class="lastmenu" href="javascript:void(0);"></a></li>
	</ul>
	<div id="searchbox">
		<form method="get" action="/project/bazalt/search/">
			<div class="content">
			<input class="textfield" type="text" value="" size="24" name="q"/>
			<input class="button" type="submit" value=""/>
			</div>
		</form>
	</div>
	<div class="spacer"></div>
</div>